﻿<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="EmployeeMaintain.aspx.vb" Inherits="WebForm_Manage_EmployeeMaintain" title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:UpdatePanel ID="up" runat="server" UpdateMode="Conditional">
     <ContentTemplate>
            <asp:HiddenField ID="hiDBName" runat="server" />
            <asp:HiddenField ID="hiUID" runat="server" />
            <asp:HiddenField ID="hiMode" runat="server" />
            <table width="1000px" border ="1">
             <tr>
                    <td style="text-align: center">
                        <asp:Label ID="lblTitle" runat="server" Font-Bold="True" Font-Size="24px" meta:resourcekey="lblTitle"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Label ID="lblemp_no" runat="server"  meta:resourcekey="lblemp_no"></asp:Label>
                        <asp:TextBox ID="txtemp_no" runat="server"></asp:TextBox>
      
                        <asp:Label ID="lblemp_name" runat="server"  meta:resourcekey="lblemp_name"></asp:Label>
                        <asp:TextBox ID="txtemp_name" runat="server"></asp:TextBox>

                        <asp:Label ID="lblemp_name_eng" runat="server"  meta:resourcekey="lblemp_name_eng"></asp:Label>
                        <asp:TextBox ID="txtemp_name_eng" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Button ID="btnInsert" runat="server" meta:resourcekey="btnInsert" />
                        <asp:Button ID="btnQuery" runat="server" meta:resourcekey="btnQuery" />
                    </td>
                </tr>
                <tr>
                    <td>

                        <TServerControl:TGridView ID="gvEMP" runat="server" AllowHoverEffect="False" AllowHoverSelect="False"
                            AllowPaging="True"  ShowFooterWhenEmpty="False" ShowHeaderWhenEmpty="False"
                            SkinID="pager" TotalRowCount="0" Width="1000px" AutoGenerateColumns="False" meta:resourcekey="gvEMP">
                            <Columns>
                                        <asp:TemplateField>
                                            <ItemTemplate>
                                                <asp:Button ID="btnEdit" runat="server" CommandName="Edit" meta:resourcekey="btnEdit"
                                                    Text="Button" CommandArgument='<%# Bind("emp_no") %>' OnClick="btnEdit_Click" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:BoundField DataField="emp_no" meta:resourcekey="colemp_no" readonly="true" />
                                        <asp:BoundField DataField="emp_name" meta:resourcekey="colemp_name" readonly="true" />
                                        <asp:BoundField DataField="emp_name_eng" meta:resourcekey="colemp_name_eng" readonly="true" />
                                       

                            </Columns>
                        </TServerControl:TGridView>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Panel ID="plInsert" runat="server" BackColor="#E7FEC2" 
                            >
                            <table border ="1">
                                  <tr style="text-align: center">
                                        <td colspan="4">
                                            <asp:LinkButton ID="btnSave" runat="server" meta:resourcekey="btnSave"></asp:LinkButton>
                                            <asp:LinkButton ID="btnClose" runat="server" meta:resourcekey="btnClose"></asp:LinkButton>
                                        </td>
                                  </tr>
                                  <tr style="text-align: center">
                                        <td colspan="4">
                                           <asp:Label ID="lbMode" runat="server" Font-Bold="true" ForeColor="Red" Font-Size="14px"></asp:Label>
                                        </td>
                                  </tr>
                                  <tr>
                                        <td style="text-align: right">
                                             <asp:Label ID="lblemp_no2" runat="server"  meta:resourcekey="lblemp_no2"></asp:Label>
                                        </td>
                                        <td>
                                             <asp:TextBox ID="txtemp_no2" runat="server" Width="70px"></asp:TextBox>
                                        </td>
                              <td style="text-align: right">
                                             <asp:Label ID="lblemp_name2" runat="server"  meta:resourcekey="lblemp_name2"></asp:Label>
                                        </td>
                                        <td>
                                             <asp:TextBox ID="txtemp_name2" runat="server" Width="70px"></asp:TextBox>
                                        </td>
                                   </tr>
                                   <tr>
                                            <td style="text-align: right">
                                                <asp:Label ID="lblPassword" runat="server" meta:resourcekey="lblPassword"></asp:Label>
                                            </td>  
                                            <td>
                                                <asp:TextBox ID="txtPassword" runat="server" Width="70px"></asp:TextBox>
                                            </td>  
                                   
                                            <td style="text-align: right">
                                                &nbsp;</td>
                                            <td>
                                                &nbsp;</td>
                                      </tr>
                                    <tr>
                                        <td style="text-align: right">
                                            <asp:Label ID="lblemp_name_eng2" runat="server" 
                                                meta:resourcekey="lblemp_name_eng2"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtemp_name_eng2" runat="server" Width="70px"></asp:TextBox>
                                        </td>
                                        <td style="text-align: right">
                                            <asp:Label ID="lblLoginID" runat="server" meta:resourcekey="lblLoginID"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="txtLoginID" runat="server" Width="70px"></asp:TextBox>
                                        </td>
                                  </tr>
                                    <tr>
                                            <td style="text-align: right">
                                             <asp:Label ID="lblStatus" runat="server"  meta:resourcekey="lblStatus"></asp:Label>
                                            </td>
                                            <td>
                                             <asp:DropDownList ID="ddlStatus" runat="server"></asp:DropDownList>
                                            </td>
                                     
                                            <td style="text-align: right">
                                              <asp:Label ID="lblEmail" runat="server"  meta:resourcekey="lblEmail" ></asp:Label>
                                            </td>
                                            <td>
                                              <asp:TextBox ID="txtEmail" runat="server" Width="200px"></asp:TextBox>
                                            </td>
                                       </tr>
                                       <tr>
                                            <td style="text-align: right">
                                              <asp:Label ID="lblorg_id" runat="server"  meta:resourcekey="lblorg_id"></asp:Label>
                                            </td>
                                            <td>
                                              <asp:DropDownList ID="ddlorg_id" runat="server"></asp:DropDownList>
                                            </td>
                                        
                                            <td style="text-align: right">
                                              <asp:Label ID="lblext_no" runat="server"  meta:resourcekey="lblext_no"></asp:Label>
                                            </td>
                                            <td>
                                              <asp:TextBox ID="txtext_no" runat="server"  Width="70px"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                          <td style="text-align: right">
                                              <asp:Label ID="lblcome_date" runat="server"  meta:resourcekey="lblcome_date"></asp:Label>
                                          </td>
                                          <td>
                                             <asp:TextBox ID="txtcome_date" runat="server" Width="70px" ></asp:TextBox>
                                             <ajaxToolkit:CalendarExtender ID="cecome_date" runat="server" TargetControlID="txtcome_date"  Format="yyyy/MM/dd"></ajaxToolkit:CalendarExtender>                                           
                                          </td>
                                        
                                           <td style="text-align: right">
                                               <asp:Label ID="lblbirthday" runat="server"  meta:resourcekey="lblbirthday"></asp:Label>
                                           </td>
                                           <td>
                                              <asp:TextBox ID="txtbirthday" runat="server" Width="70px" ></asp:TextBox>
                                              <ajaxToolkit:CalendarExtender ID="cebirthday" runat="server" TargetControlID="txtbirthday" Format="yyyy/MM/dd"></ajaxToolkit:CalendarExtender>                                                                 
                                           </td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: right">
                                             <asp:Label ID="lblsex" runat="server"  meta:resourcekey="lblsex"></asp:Label>
                                            </td>
                                            <td>
                                              <asp:DropDownList ID="ddlsex" runat="server"></asp:DropDownList>
                                            </td>
                                        
                                             <td style="text-align: right">
                                                <asp:Label ID="lblquit_date" runat="server"  meta:resourcekey="lblquit_date"></asp:Label>
                                             </td>
                                             <td>
                                                <asp:TextBox ID="txtquit_date" runat="server" Width="70px"></asp:TextBox>
                                                <ajaxToolkit:CalendarExtender ID="cequit_date" runat="server" TargetControlID="txtquit_date"  Format="yyyy/MM/dd"></ajaxToolkit:CalendarExtender>                                           
                                             </td>
                                         </tr>
                                         <tr>
                                             <td style="text-align: right">
                                                 <asp:Label ID="lblCompany" runat="server"  meta:resourcekey="lblCompany"></asp:Label>
                                             </td>
                                             <td>
                                                 <asp:DropDownList ID="ddlCompany" runat="server"></asp:DropDownList>
                                             </td>
                                         
                                             <td style="text-align: right">
                                                <asp:Label ID="lbljob_id" runat="server"  meta:resourcekey="lbljob_id"></asp:Label>

                                             </td>
                                             <td>
                                                 <asp:DropDownList ID="ddljob_id" runat="server" Width="70px"></asp:DropDownList>
                                             </td>
                                                                               
                                        </tr>
                                         <tr>
                                            <td style="text-align: right">
                                                <asp:Label ID="lblCrtName" runat="server" meta:resourcekey="lblCrtName"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblCrtUID" runat="server"></asp:Label>
                                                <asp:Label ID="lblCrtName2" runat="server"></asp:Label>
                                            </td>
                                      
                                            <td style="text-align: right">
                                                <asp:Label ID="lblCrtDate" runat="server" meta:resourcekey="lblCrtDate"></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblCrtDate2" runat="server"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td style="text-align: right">
                                                <asp:Label ID="lblModiName" runat="server" meta:resourcekey="lblModiName" ></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblModiUID" runat="server"></asp:Label>
                                                <asp:Label ID="lblModiName2" runat="server"></asp:Label>
                                            </td>
                                       
                                            <td style="text-align: right">
                                                <asp:Label ID="lblModiDate" runat="server" meta:resourcekey="lblModiDate" ></asp:Label>
                                            </td>
                                            <td>
                                                <asp:Label ID="lblModiDate2" runat="server"></asp:Label>
                                            </td>
                                        </tr>
                            </table>
                        </asp:Panel>
                     </td>   
                </tr>
            </table>
                <asp:LinkButton ID="btnInsert1" runat="server" Style="display: none">Ins</asp:LinkButton>
                <ajaxToolkit:ModalPopupExtender ID="mpInsert" X="50" Y="35" runat="server" TargetControlID="btnInsert1"
                CancelControlID="btnClose" PopupControlID="plInsert" PopupDragHandleControlID="plInsert">
            </ajaxToolkit:ModalPopupExtender>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>

